Skip to content

Conversation

@eternograf
Copy link
Owner

snyk-top-banner

Snyk has created this PR to upgrade @primer/behaviors from 1.7.0 to 1.10.0.

ℹ️ Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.


  • The recommended version is 45 versions ahead of your current version.

  • The recommended version was released 25 days ago.

Release notes
Package name: @primer/behaviors
  • 1.10.0 - 2026-01-14

    Minor Changes

    • #668 15b49ab Thanks @ TylerJDev! - Focus-zone: Reinitialize focus zone when new items are added and focusPrependedElements is true
  • 1.10.0-rc.8ac56be - 2026-01-14
  • 1.9.2 - 2026-01-08

    Patch Changes

    • #661 419bcf0 Thanks @ copilot-swe-agent! - Optimize getAnchoredPosition by reducing getComputedStyle calls
      • Combine DOM traversals for positioned parent and clipping node lookups into a single pass
      • Cache computed styles during traversal to avoid redundant getComputedStyle calls
      • Reduce calls from 2n + 2 to n for DOM trees of depth n (57% reduction for typical cases)
      • Improve performance for anchored positioning with deep DOM trees
  • 1.9.2-rc.45ff0ed - 2026-01-08
  • 1.9.1 - 2026-01-06

    Patch Changes

    • #665 7fa6e9a Thanks @ kelsey-myers! - [Focus Zone] Fix edge-case where prepended element is not focused when elements are reordered

    • #657 457a1fb Thanks @ mattcosta7! - Optimize DOM operations for better web vitals (INP, CLS, FID)

      • Batch reflow-causing reads in isFocusable() to minimize layout thrashing
      • Use Set for O(1) tag lookups instead of Array.includes()
      • Optimize getClippingRect() and getPositionedParent() with early exits
      • Batch MutationObserver DOM operations (read phase, then write phase)
      • Add sr-only inline styles to focus-trap sentinels to prevent CLS
      • Use :scope selector for faster direct-child sentinel lookup
      • Add IndexedSet for O(1) membership checks in focus zone hot paths
  • 1.9.1-rc.b43a642 - 2026-01-05
  • 1.9.1-rc.a74007f - 2025-12-30
  • 1.9.1-rc.8575c94 - 2025-12-26
  • 1.9.1-rc.69df32c - 2026-01-06
  • 1.9.1-rc.5011fc8 - 2025-12-19
  • 1.9.0 - 2025-12-05

    Minor Changes

    • #648 0cd03c3 Thanks @ TylerJDev! - FocusZone: Introduce a new focusInStrategy option, "initial," to allow disabling the default behavior of focusing on the first item when the focus zone becomes active.

    • #641 cd90185 Thanks @ TylerJDev! - FocusZone: Add setting ignoreHoverEvents which provides a configurable setting to disable selection on mouse hover

  • 1.9.0-rc.8649bfb - 2025-12-05
  • 1.8.4 - 2025-10-28

    Patch Changes

  • 1.8.4-rc.c90131c - 2025-10-28
  • 1.8.3 - 2025-09-23

    Patch Changes

  • 1.8.3-rc.9620f24 - 2025-09-19
  • 1.8.3-rc.8abb04d - 2025-08-28
  • 1.8.3-rc.445b5e8 - 2025-09-22
  • 1.8.3-rc.3e47766 - 2025-09-18
  • 1.8.3-rc.3b346e6 - 2025-09-04
  • 1.8.3-rc.08e41d2 - 2025-09-10
  • 1.8.3-rc.4296896 - 2025-09-10
  • 1.8.2 - 2025-08-21

    Patch Changes

    • #594 5cd0b90 Thanks @ iansan5653! - Respect contenteditable elements when checking for editability in focus-zone behavior
  • 1.8.2-rc.0fdf228 - 2025-08-21
  • 1.8.1 - 2025-03-05

    Patch Changes

    • #473 d88c043 Thanks @ TylerJDev! - Prevent duplicate sentinels from being added if some already exist in the container of the focus trap.
  • 1.8.1-rc.f4a3edb - 2025-02-07
  • 1.8.1-rc.ed22bee - 2025-02-18
  • 1.8.1-rc.e6e1181 - 2025-02-07
  • 1.8.1-rc.bfccc55 - 2025-02-03
  • 1.8.1-rc.b95e141 - 2025-03-03
  • 1.8.1-rc.b50bf48 - 2025-02-04
  • 1.8.1-rc.a7122c0 - 2025-03-04
  • 1.8.1-rc.8a318f7 - 2025-03-04
  • 1.8.1-rc.692cca7 - 2025-02-11
  • 1.8.1-rc.60839a9 - 2025-02-22
  • 1.8.1-rc.31ff538 - 2025-02-25
  • 1.8.1-rc.0e5cc99 - 2025-02-13
  • 1.8.1-rc.9317682 - 2025-03-04
  • 1.8.0 - 2024-10-21
  • 1.8.0-rc.8a940b0 - 2024-10-21
  • 1.8.0-rc.3eb63b8 - 2024-10-21
  • 1.7.2 - 2024-08-23
  • 1.7.2-rc.91a5267 - 2024-08-23
  • 1.7.1 - 2024-08-01
  • 1.7.1-rc.521975f - 2024-08-01
  • 1.7.0 - 2024-07-25
from @primer/behaviors GitHub release notes

Important

  • Check the changes in this PR to ensure they won't cause issues with your project.
  • This PR was automatically created by Snyk using the credentials of a real user.

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.

For more information:

Snyk has created this PR to upgrade @primer/behaviors from 1.7.0 to 1.10.0.

See this package in npm:
@primer/behaviors

See this project in Snyk:
https://app.snyk.io/org/florinlacatus98/project/831e9d3c-3f06-4ad9-85b9-3efe9c824640?utm_source=github&utm_medium=referral&page=upgrade-pr
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants